﻿using System.Collections.Generic;
using eCommerce.db.DALRespository;
using eCommerce.db.DataRespository;

namespace eCommerce.db.BORespository
{
    public class NoteBo
    {
        public static List<NoteEntity> GetByStatus(int status, string userName)
        {
            return NoteDal.GetByStatus(status, userName);
        }

        public static NoteEntity GetById(int id)
        {
            return NoteDal.GetById(id);
        }

        public static void Save(NoteEntity o)
        {
            NoteDal.Save(o);
        }

        public static void Delete(int id)
        {
            NoteDal.Delete(id);
        }
    }
}
